package com.ctshk.rpc.ship.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * <p>
 * 船票推荐DTO
 * </p>
 *
 * @author 刘蕾
 * @since 2021年03月05日
 */
@Data
@ApiModel(value = "ShipRecommendDTO对象", description = "船票推荐DTO")
public class ShipRecommendListDTO implements Serializable {

    private static final long serialVersionUID = 1L;


    @ApiModelProperty(value = "产品ID")
    private Long id;

    @ApiModelProperty(value = "预订查询参数：船公司类型(1 信德船票，2 珠江船票)")
    private Integer companyType;

    @ApiModelProperty(value = "产品编号")
    private String code;

    @ApiModelProperty(value = "航线名称")
    private String routeName;

    @ApiModelProperty(value = "出发城市名称")
    private String depCityName;

    @ApiModelProperty(value = "到达城市名称")
    private String arrCityName;

    @ApiModelProperty(value = "出发港口")
    private String depPlaceName;

    @ApiModelProperty(value = "到达港口")
    private String arrPlaceName;

    @ApiModelProperty(value = "总价格 成本*汇率+预订服务费+税费+加辐费")
    private BigDecimal price;

    @ApiModelProperty(value = "线下加幅费用")
    private BigDecimal offLinePrice;

    @ApiModelProperty(value = "百分比")
    private Double percent;
    @ApiModelProperty(value = "加幅类型(1 数值，2百分比)")
    private Integer adjustType;
    @ApiModelProperty(value = "加辐费")
    private BigDecimal taxFee;
    @ApiModelProperty(value = "成本金额")
    private BigDecimal costPrice;
    @ApiModelProperty(value = "税费")
    private BigDecimal otherFeePrice;
    @ApiModelProperty(value = "预订服务费")
    private BigDecimal serviceChargePrice;
    @ApiModelProperty(value = "汇率")
    private BigDecimal exchangeRate;

    @ApiModelProperty(value = "权限范围类型（1：自营禁售 2 所有部门 3指定部门/人员）")
    private Integer visableType;
    @ApiModelProperty(value = "关联ID")
    private Long relationId;

}
